<template>
  <div>
    <TypNav></TypNav>
    <ListContainer></ListContainer>
    <TodayRecommend></TodayRecommend>
    <Rank></Rank>
    <Like></Like>
   <Floor v-for="floor in floors" :key="floor.id" :floor="floor"></Floor>
    <Brand></Brand>

  </div>
</template>
<script>
import TypNav from "../../components/typNav";
import ListContainer from "../../components/listContainer"
import TodayRecommend from "../../components/TodayRecommend"
import Rank from "../../components/rank"
import Like from "../../components/Like"
import Floor from "../../components/Floor"
import Brand from "../../components/Brand"
import {mapState} from "vuex"
export default {
  name: 'App',
  computed:{
    ...mapState({
      floors:state=>state.home.floors,
    })
  },
  components: {
    TypNav,
    ListContainer,
    TodayRecommend,
    Rank,
    Like,
    Floor,
    Brand
  }
}
</script>

<style>

</style>